<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>SystemSharp: ExpressionMatching.cs Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">SystemSharp
   &#160;<span id="projectnumber">0.3</span>
   </div>
   <div id="projectbrief">A system-level modeling framework for designing real-time embedded systems</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('_expression_matching_8cs_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Properties</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Events</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">ExpressionMatching.cs</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_expression_matching_8cs.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="keyword">using</span> System;</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="keyword">using</span> System.Collections;</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="keyword">using</span> System.Collections.Generic;</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="keyword">using</span> System.Linq;</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="keyword">using</span> System.Text;</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="keyword">using</span> SystemSharp.Algebraic;</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="keyword">using</span> SystemSharp.Meta;</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="keyword">namespace </span>SystemSharp.SysDOM</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;{</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;    <span class="keyword">public</span> delegate <span class="keywordtype">void</span> <a class="code" href="namespace_system_sharp_1_1_sys_d_o_m.html#a713e8ebc9264c8218b62393ca9612517">MatchAction</a>(Expression e);</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    <span class="keyword">public</span> delegate Expression <a class="code" href="namespace_system_sharp_1_1_sys_d_o_m.html#a55f18bc7b5ffbb11145b22118dbac279">ExpressionGenerator</a>();</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">   43</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    {</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;        <span class="keyword">private</span> Expression.MatchFunction _func;</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;        <span class="keyword">private</span> <a class="code" href="namespace_system_sharp_1_1_sys_d_o_m.html#a55f18bc7b5ffbb11145b22118dbac279">ExpressionGenerator</a> _gen;</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;        <span class="keyword">private</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_expression.html">Expression</a> _expr;</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;</div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#abbd901620733138c96918f8c216c987d">   52</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#abbd901620733138c96918f8c216c987d">Matching</a>()</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;        {</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;            _func = x =&gt; <span class="keyword">true</span>;</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;            _gen = GetExpression;</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;        }</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_expression.html">Expression</a> Result</div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a372f20cd485619855d6354a4d4c2b5d8">   62</a></span>&#160;        {</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> _expr; }</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;        }</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;        <span class="keyword">private</span> <span class="keywordtype">void</span> SetExpression(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_expression.html">Expression</a> e)</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;        {</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;            _expr = e;</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;        }</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;</div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a92cb41ce92d873f60f4e9fcf126f2d21">   74</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_expression.html">Expression</a> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a92cb41ce92d873f60f4e9fcf126f2d21">GetExpression</a>()</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;        {</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;            <span class="keywordflow">return</span> _expr;</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;        }</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;        <span class="keyword">private</span> <span class="keywordtype">bool</span> Match(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_expression.html">Expression</a> e)</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;        {</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;            SetExpression(e);</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;            <span class="keywordflow">return</span> _func(e);</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;        }</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;</div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a61832a378ab5ee663f45a43faee58594">   88</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> implicit <span class="keyword">operator</span> Expression.MatchFunction(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> m)</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;        {</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;            <span class="keywordflow">return</span> m.Match;</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;        }</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;</div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#aebc7a935ca4d1b84c540968862ac76d4">   96</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> implicit <span class="keyword">operator</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a>(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_expression.html">Expression</a>.<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_expression.html#ae0af2e8127f24d85216108cf9747643f">MatchFunction</a> mf)</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;        {</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a>() { _func = mf };</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;        }</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;</div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#afe7e3a811cb28b2e7868fc15673fbf68">  104</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> implicit <span class="keyword">operator</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a>(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_expression.html">Expression</a> e)</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;        {</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;            <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> result = Node(e);</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;            result._gen = () =&gt; e;</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;            <span class="keywordflow">return</span> result;</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;        }</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;</div>
<div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#af6a220430bbcf2aac2b5360bc80d12bc">  114</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> implicit <span class="keyword">operator</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html">Generation</a>(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> m)</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;        {</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;            <span class="keywordflow">return</span> m._gen;</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;        }</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;</div>
<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#aa517b29693072e8cade9c6f4fd1a6d17">  122</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> Expression.MatchFunction <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#aa517b29693072e8cade9c6f4fd1a6d17">Node</a>(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_expression.html">Expression</a> e)</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;        {</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;            <span class="keywordflow">return</span> x =&gt; e.NodeEquals(x);</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;        }</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;</div>
<div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a179029434dedf092b9c018f1a5b31384">  130</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> Expression.MatchFunction <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a179029434dedf092b9c018f1a5b31384">Deep</a>(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_expression.html">Expression</a> e)</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;        {</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;            <span class="keywordflow">return</span> x =&gt; e.DeepEquals(x);</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;        }</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;        <span class="keyword">private</span> <span class="keywordtype">bool</span> MatchAny(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_expression.html">Expression</a> e, <a class="code" href="namespace_system_sharp_1_1_sys_d_o_m.html#a713e8ebc9264c8218b62393ca9612517">MatchAction</a> ma)</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;        {</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;            ma(e);</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;        }</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;</div>
<div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a1a2995796eddf878191309de8c156e29">  147</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> Expression.MatchFunction <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a1a2995796eddf878191309de8c156e29">Parent2Children</a>(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_expression.html">Expression</a>.<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_expression.html#ae0af2e8127f24d85216108cf9747643f">MatchFunction</a> fnp,</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;            <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_expression.html">Expression</a>.<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_expression.html#ae0af2e8127f24d85216108cf9747643f">MatchFunction</a> fnc1, <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_expression.html">Expression</a>.<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_expression.html#ae0af2e8127f24d85216108cf9747643f">MatchFunction</a> fnc2)</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;        {</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;            <span class="keywordflow">return</span> x =&gt; fnp(x) &amp;&amp; fnc1(x.Children.ElementAt(0)) &amp;&amp; fnc2(x.Children.ElementAt(1));</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;        }</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;</div>
<div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a95d330fc0fb479849e6d66a38f938def">  157</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a95d330fc0fb479849e6d66a38f938def">MUnOp</a>(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_un_op.html">UnOp</a>.<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_un_op.html#a8b4fb050e6c5427c7bc17a53c25ab924">Kind</a> kind)</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;        {</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;            <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_un_op.html">UnOp</a> cmp = <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_un_op.html">UnOp</a>() { Operation = kind };</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;            <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> newm = <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a>();</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;            newm._func = e =&gt; e.NodeEquals(cmp) &amp;&amp; </div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;                    this.Match(e.Children.ElementAt(0));</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;            newm._gen = () =&gt; newm._expr == null ? </div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;                    <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_un_op.html">UnOp</a>() { Operation = kind, Operand = _gen() } : </div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;                    newm._expr;</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;            <span class="keywordflow">return</span> newm;</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;        }</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;</div>
<div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a2e5f368187212bfeaee3d209c6579c5f">  174</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a2e5f368187212bfeaee3d209c6579c5f">MBinOp</a>(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_bin_op.html">BinOp</a>.<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_bin_op.html#ab5bc58b1b90b8ea714fe042b2a0e63ef">Kind</a> kind, <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> peer)</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;        {</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;            <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_bin_op.html">BinOp</a> cmp = <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_bin_op.html">BinOp</a>() { Operation = kind };</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;            <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> newm = <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a>();</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;            newm._func = e =&gt; e.NodeEquals(cmp) &amp;&amp; </div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;                    this.Match(e.Children.ElementAt(0)) &amp;&amp; </div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;                    peer.Match(e.Children.ElementAt(1));</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;            newm._gen = () =&gt; newm._expr == null ? </div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;                <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_bin_op.html">BinOp</a>() { Operation = kind, Operand1 = _gen(), Operand2 = peer._gen() } : newm._expr;</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;            <span class="keywordflow">return</span> newm;</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;        }</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;</div>
<div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a25e90472d9fe2755b87a814bd7a61a20">  190</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a25e90472d9fe2755b87a814bd7a61a20">Constrain</a>(Func&lt;bool&gt; constraint)</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;        {</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;            <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> result = <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a>();</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;            result._func = e =&gt; this.Match(e) &amp;&amp; constraint();</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;            result._gen = this._gen;</div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;            <span class="keywordflow">return</span> result;</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;        }</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;</div>
<div class="line"><a name="l00202"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a2513f19ca446785f519af42d9643f708">  202</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> Expression.MatchFunction <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a2513f19ca446785f519af42d9643f708">BinOp</a>(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_bin_op.html">BinOp</a>.<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_bin_op.html#ab5bc58b1b90b8ea714fe042b2a0e63ef">Kind</a> kind)</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;        {</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;            <span class="keywordflow">return</span> Node(<span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_bin_op.html">BinOp</a>() { Operation = kind });</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;        }</div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;</div>
<div class="line"><a name="l00211"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#ab131424f33623b227105a1affc785940">  211</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> operator -(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> fn)</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;        {</div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;            <span class="keywordflow">return</span> fn.MUnOp(UnOp.Kind.Neg);</div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;        }</div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;</div>
<div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#ad911ba27366e66734f65af6445d987ca">  220</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> operator !(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> fn)</div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;        {</div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;            <span class="keywordflow">return</span> fn.MUnOp(UnOp.Kind.BoolNot);</div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;        }</div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;</div>
<div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#aa44963923a4b7234db2940a8706fb9cc">  229</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> operator ~(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> fn)</div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;        {</div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;            <span class="keywordflow">return</span> fn.MUnOp(UnOp.Kind.BitwiseNot);</div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;        }</div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;</div>
<div class="line"><a name="l00239"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#aec71de1096929a34eb8d8159b9696f6f">  239</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> operator +(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> fn1, <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> fn2)</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;        {</div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;            <span class="keywordflow">return</span> fn1.MBinOp(SystemSharp.SysDOM.BinOp.Kind.Add, fn2);</div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;        }</div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;</div>
<div class="line"><a name="l00249"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a7102cbb793d12319d43693904dee7b20">  249</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> operator -(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> fn1, <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> fn2)</div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;        {</div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;            <span class="keywordflow">return</span> fn1.MBinOp(SystemSharp.SysDOM.BinOp.Kind.Sub, fn2);</div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;        }</div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;</div>
<div class="line"><a name="l00259"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a81ee14fb7f463c4c647655605bacc48a">  259</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> operator *(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> fn1, <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> fn2)</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;        {</div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;            <span class="keywordflow">return</span> fn1.MBinOp(SystemSharp.SysDOM.BinOp.Kind.Mul, fn2);</div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;        }</div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;</div>
<div class="line"><a name="l00269"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a644f922e488e79310e256b1058aeb94a">  269</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> operator /(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> fn1, <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> fn2)</div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;        {</div>
<div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;            <span class="keywordflow">return</span> fn1.MBinOp(SystemSharp.SysDOM.BinOp.Kind.Div, fn2);</div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;        }</div>
<div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;</div>
<div class="line"><a name="l00279"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a09ffec3dcfa8df628b05e0b1d065adba">  279</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> operator %(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> fn1, <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> fn2)</div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;        {</div>
<div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;            <span class="keywordflow">return</span> fn1.MBinOp(SystemSharp.SysDOM.BinOp.Kind.Rem, fn2);</div>
<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;        }</div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;</div>
<div class="line"><a name="l00289"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a94ab2fb76dedcb3d2a2f77f45c0d36dd">  289</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> operator &amp;(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> fn1, <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> fn2)</div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;        {</div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;            <span class="keywordflow">return</span> fn1.MBinOp(SystemSharp.SysDOM.BinOp.Kind.And, fn2);</div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;        }</div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;</div>
<div class="line"><a name="l00299"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a15d7b8caa47ed7545f7cae98778aea22">  299</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> operator |(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> fn1, <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> fn2)</div>
<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;        {</div>
<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;            <span class="keywordflow">return</span> fn1.MBinOp(SystemSharp.SysDOM.BinOp.Kind.Or, fn2);</div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;        }</div>
<div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;</div>
<div class="line"><a name="l00309"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a0a30ff7a92456d93415ad11a00ee336f">  309</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a0a30ff7a92456d93415ad11a00ee336f">Eq</a>(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> y)</div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;        {</div>
<div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;            <span class="keywordflow">return</span> MBinOp(SystemSharp.SysDOM.BinOp.Kind.Eq, y);</div>
<div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;        }</div>
<div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;</div>
<div class="line"><a name="l00319"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a916aa6dbd784de070c605b9c34e04691">  319</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a916aa6dbd784de070c605b9c34e04691">NEq</a>(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> y)</div>
<div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;        {</div>
<div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;            <span class="keywordflow">return</span> MBinOp(SystemSharp.SysDOM.BinOp.Kind.NEq, y);</div>
<div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;        }</div>
<div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;</div>
<div class="line"><a name="l00329"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a1caf5038fa70a6232d55c9202a785b94">  329</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a1caf5038fa70a6232d55c9202a785b94">Lt</a>(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> y)</div>
<div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;        {</div>
<div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;            <span class="keywordflow">return</span> MBinOp(SystemSharp.SysDOM.BinOp.Kind.Lt, y);</div>
<div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;        }</div>
<div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;</div>
<div class="line"><a name="l00339"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a1bd8a71cd6df6bf81c6320563a9fb3fb">  339</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a1bd8a71cd6df6bf81c6320563a9fb3fb">LtEq</a>(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> y)</div>
<div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;        {</div>
<div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;            <span class="keywordflow">return</span> MBinOp(SystemSharp.SysDOM.BinOp.Kind.LtEq, y);</div>
<div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;        }</div>
<div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;</div>
<div class="line"><a name="l00349"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a006e4c0321abea915988bce708a19c84">  349</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a006e4c0321abea915988bce708a19c84">Gt</a>(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> y)</div>
<div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;        {</div>
<div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;            <span class="keywordflow">return</span> MBinOp(SystemSharp.SysDOM.BinOp.Kind.Gt, y);</div>
<div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;        }</div>
<div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;</div>
<div class="line"><a name="l00359"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a9a913b7ceb1d6006311b48732db4a239">  359</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a9a913b7ceb1d6006311b48732db4a239">GtEq</a>(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> y)</div>
<div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;        {</div>
<div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;            <span class="keywordflow">return</span> MBinOp(SystemSharp.SysDOM.BinOp.Kind.GtEq, y);</div>
<div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;        }</div>
<div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;</div>
<div class="line"><a name="l00369"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a340768e31ae44c8ecee5817315ac85ce">  369</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a340768e31ae44c8ecee5817315ac85ce">Cast</a>(Type srcType, <a class="code" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a> dstType)</div>
<div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;        {</div>
<div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;            var cast = IntrinsicFunctions.Cast((<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_expression.html">Expression</a>)null, srcType, dstType);</div>
<div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;            <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a> newm = <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">Matching</a>();</div>
<div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;            newm._func = e =&gt; e.NodeEquals(cast) &amp;&amp;</div>
<div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;                    this.Match(e.Children.ElementAt(0));</div>
<div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;            newm._gen = () =&gt; newm._expr == null ?</div>
<div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;                    <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_intrinsic_functions.html">IntrinsicFunctions</a>.<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_intrinsic_functions.html#a74c6d91b95ee4599419bb4279bf4ed19">Cast</a>(_gen(), srcType, dstType) :</div>
<div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;                    newm._expr;</div>
<div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;            <span class="keywordflow">return</span> newm;</div>
<div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;        }</div>
<div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;    }</div>
<div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;</div>
<div class="line"><a name="l00385"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html">  385</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html">Generation</a></div>
<div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160;    {</div>
<div class="line"><a name="l00390"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html#a73aa95d0acb5b82c7ac89f9d11edd058">  390</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="namespace_system_sharp_1_1_sys_d_o_m.html#a55f18bc7b5ffbb11145b22118dbac279">ExpressionGenerator</a> Generator { <span class="keyword">get</span>; set; }</div>
<div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;</div>
<div class="line"><a name="l00395"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html#a7ff30b5b2fec47b401815bc6c59c58bb">  395</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> implicit <span class="keyword">operator</span> <a class="code" href="namespace_system_sharp_1_1_sys_d_o_m.html#a55f18bc7b5ffbb11145b22118dbac279">ExpressionGenerator</a>(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html">Generation</a> gen)</div>
<div class="line"><a name="l00396"></a><span class="lineno">  396</span>&#160;        {</div>
<div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160;            <span class="keywordflow">return</span> gen.Generator;</div>
<div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;        }</div>
<div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;</div>
<div class="line"><a name="l00403"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html#a3444696d7f55d60f4494f486625bd947">  403</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> implicit <span class="keyword">operator</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html">Generation</a>(<a class="code" href="namespace_system_sharp_1_1_sys_d_o_m.html#a55f18bc7b5ffbb11145b22118dbac279">ExpressionGenerator</a> g)</div>
<div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;        {</div>
<div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html">Generation</a>() { Generator = g };</div>
<div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;        }</div>
<div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;</div>
<div class="line"><a name="l00411"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html#a0f926f90323313d787077708dc810f93">  411</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="namespace_system_sharp_1_1_sys_d_o_m.html#a55f18bc7b5ffbb11145b22118dbac279">ExpressionGenerator</a> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html#a0f926f90323313d787077708dc810f93">Copy</a>(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_expression.html">Expression</a> e)</div>
<div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160;        {</div>
<div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;            <span class="keywordflow">return</span> () =&gt; e;</div>
<div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;        }</div>
<div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160;</div>
<div class="line"><a name="l00421"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html#a3ddbf1c2c8b2e0446a7f75a42a1784fe">  421</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="namespace_system_sharp_1_1_sys_d_o_m.html#a55f18bc7b5ffbb11145b22118dbac279">ExpressionGenerator</a> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html#a3ddbf1c2c8b2e0446a7f75a42a1784fe">UnOp</a>(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_un_op.html">UnOp</a>.<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_un_op.html#a8b4fb050e6c5427c7bc17a53c25ab924">Kind</a> kind, <a class="code" href="namespace_system_sharp_1_1_sys_d_o_m.html#a55f18bc7b5ffbb11145b22118dbac279">ExpressionGenerator</a> g)</div>
<div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;        {</div>
<div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;            <span class="keywordflow">return</span> () =&gt; <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_un_op.html">UnOp</a>()</div>
<div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160;            {</div>
<div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;                Operation = kind,</div>
<div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160;                Operand = g()</div>
<div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;            };</div>
<div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;        }</div>
<div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;</div>
<div class="line"><a name="l00436"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html#aff1550706ae49faed5dc595fdcfeb487">  436</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="namespace_system_sharp_1_1_sys_d_o_m.html#a55f18bc7b5ffbb11145b22118dbac279">ExpressionGenerator</a> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html#aff1550706ae49faed5dc595fdcfeb487">BinOp</a>(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_bin_op.html">BinOp</a>.<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_bin_op.html#ab5bc58b1b90b8ea714fe042b2a0e63ef">Kind</a> kind,</div>
<div class="line"><a name="l00437"></a><span class="lineno">  437</span>&#160;            <a class="code" href="namespace_system_sharp_1_1_sys_d_o_m.html#a55f18bc7b5ffbb11145b22118dbac279">ExpressionGenerator</a> g1, <a class="code" href="namespace_system_sharp_1_1_sys_d_o_m.html#a55f18bc7b5ffbb11145b22118dbac279">ExpressionGenerator</a> g2)</div>
<div class="line"><a name="l00438"></a><span class="lineno">  438</span>&#160;        {</div>
<div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160;            <span class="keywordflow">return</span> () =&gt; <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_bin_op.html">BinOp</a>()</div>
<div class="line"><a name="l00440"></a><span class="lineno">  440</span>&#160;            {</div>
<div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160;                Operation = kind,</div>
<div class="line"><a name="l00442"></a><span class="lineno">  442</span>&#160;                Operand1 = g1(),</div>
<div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160;                Operand2 = g2()</div>
<div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160;            };</div>
<div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160;        }</div>
<div class="line"><a name="l00446"></a><span class="lineno">  446</span>&#160;</div>
<div class="line"><a name="l00451"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html#a63535a7d0faa5cd3acdf01b2c7e8d664">  451</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html">Generation</a> operator -(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html">Generation</a> g)</div>
<div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160;        {</div>
<div class="line"><a name="l00453"></a><span class="lineno">  453</span>&#160;            <span class="keywordflow">return</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_un_op.html">UnOp</a>(SystemSharp.SysDOM.UnOp.Kind.Neg, g);</div>
<div class="line"><a name="l00454"></a><span class="lineno">  454</span>&#160;        }</div>
<div class="line"><a name="l00455"></a><span class="lineno">  455</span>&#160;</div>
<div class="line"><a name="l00460"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html#a79e7d563a71d1befd70e1431bc5fb945">  460</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html">Generation</a> operator !(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html">Generation</a> g)</div>
<div class="line"><a name="l00461"></a><span class="lineno">  461</span>&#160;        {</div>
<div class="line"><a name="l00462"></a><span class="lineno">  462</span>&#160;            <span class="keywordflow">return</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_un_op.html">UnOp</a>(SystemSharp.SysDOM.UnOp.Kind.BoolNot, g);</div>
<div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160;        }</div>
<div class="line"><a name="l00464"></a><span class="lineno">  464</span>&#160;</div>
<div class="line"><a name="l00469"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html#a62e736e70b0f67318b04489e64cd76c0">  469</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html">Generation</a> operator ~(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html">Generation</a> g)</div>
<div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160;        {</div>
<div class="line"><a name="l00471"></a><span class="lineno">  471</span>&#160;            <span class="keywordflow">return</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_un_op.html">UnOp</a>(SystemSharp.SysDOM.UnOp.Kind.BitwiseNot, g);</div>
<div class="line"><a name="l00472"></a><span class="lineno">  472</span>&#160;        }</div>
<div class="line"><a name="l00473"></a><span class="lineno">  473</span>&#160;</div>
<div class="line"><a name="l00479"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html#a06712cbe13119e062eb02649d1990b10">  479</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html">Generation</a> operator +(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html">Generation</a> g1, <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html">Generation</a> g2)</div>
<div class="line"><a name="l00480"></a><span class="lineno">  480</span>&#160;        {</div>
<div class="line"><a name="l00481"></a><span class="lineno">  481</span>&#160;            <span class="keywordflow">return</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_bin_op.html">BinOp</a>(SystemSharp.SysDOM.BinOp.Kind.Add, g1, g2);</div>
<div class="line"><a name="l00482"></a><span class="lineno">  482</span>&#160;        }</div>
<div class="line"><a name="l00483"></a><span class="lineno">  483</span>&#160;</div>
<div class="line"><a name="l00489"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html#aebb11f90a8417a2b9f9324161689edde">  489</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html">Generation</a> operator -(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html">Generation</a> g1, <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html">Generation</a> g2)</div>
<div class="line"><a name="l00490"></a><span class="lineno">  490</span>&#160;        {</div>
<div class="line"><a name="l00491"></a><span class="lineno">  491</span>&#160;            <span class="keywordflow">return</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_bin_op.html">BinOp</a>(SystemSharp.SysDOM.BinOp.Kind.Sub, g1, g2);</div>
<div class="line"><a name="l00492"></a><span class="lineno">  492</span>&#160;        }</div>
<div class="line"><a name="l00493"></a><span class="lineno">  493</span>&#160;</div>
<div class="line"><a name="l00499"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html#af41efece00dd28b4a6cc6bf6248ba50b">  499</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html">Generation</a> operator *(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html">Generation</a> g1, <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html">Generation</a> g2)</div>
<div class="line"><a name="l00500"></a><span class="lineno">  500</span>&#160;        {</div>
<div class="line"><a name="l00501"></a><span class="lineno">  501</span>&#160;            <span class="keywordflow">return</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_bin_op.html">BinOp</a>(SystemSharp.SysDOM.BinOp.Kind.Mul, g1, g2);</div>
<div class="line"><a name="l00502"></a><span class="lineno">  502</span>&#160;        }</div>
<div class="line"><a name="l00503"></a><span class="lineno">  503</span>&#160;</div>
<div class="line"><a name="l00509"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html#a045892a9af1e0fa95f17559ff3282969">  509</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html">Generation</a> operator /(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html">Generation</a> g1, <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html">Generation</a> g2)</div>
<div class="line"><a name="l00510"></a><span class="lineno">  510</span>&#160;        {</div>
<div class="line"><a name="l00511"></a><span class="lineno">  511</span>&#160;            <span class="keywordflow">return</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_bin_op.html">BinOp</a>(SystemSharp.SysDOM.BinOp.Kind.Div, g1, g2);</div>
<div class="line"><a name="l00512"></a><span class="lineno">  512</span>&#160;        }</div>
<div class="line"><a name="l00513"></a><span class="lineno">  513</span>&#160;</div>
<div class="line"><a name="l00519"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html#a14e2c1432c83fb698aa16d6f04eb7d0b">  519</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html">Generation</a> operator %(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html">Generation</a> g1, <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html">Generation</a> g2)</div>
<div class="line"><a name="l00520"></a><span class="lineno">  520</span>&#160;        {</div>
<div class="line"><a name="l00521"></a><span class="lineno">  521</span>&#160;            <span class="keywordflow">return</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_bin_op.html">BinOp</a>(SystemSharp.SysDOM.BinOp.Kind.Rem, g1, g2);</div>
<div class="line"><a name="l00522"></a><span class="lineno">  522</span>&#160;        }</div>
<div class="line"><a name="l00523"></a><span class="lineno">  523</span>&#160;    }</div>
<div class="line"><a name="l00524"></a><span class="lineno">  524</span>&#160;}</div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_generation_html_a3ddbf1c2c8b2e0446a7f75a42a1784fe"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html#a3ddbf1c2c8b2e0446a7f75a42a1784fe">SystemSharp.SysDOM.Generation.UnOp</a></div><div class="ttdeci">static ExpressionGenerator UnOp(UnOp.Kind kind, ExpressionGenerator g)</div><div class="ttdoc">Constructs a generator for unary expressions. </div><div class="ttdef"><b>Definition:</b> <a href="_expression_matching_8cs_source.html#l00421">ExpressionMatching.cs:421</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_matching_html_a916aa6dbd784de070c605b9c34e04691"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a916aa6dbd784de070c605b9c34e04691">SystemSharp.SysDOM.Matching.NEq</a></div><div class="ttdeci">Matching NEq(Matching y)</div><div class="ttdoc">Creates a matching for inequality comparison. </div><div class="ttdef"><b>Definition:</b> <a href="_expression_matching_8cs_source.html#l00319">ExpressionMatching.cs:319</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_matching_html_a1bd8a71cd6df6bf81c6320563a9fb3fb"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a1bd8a71cd6df6bf81c6320563a9fb3fb">SystemSharp.SysDOM.Matching.LtEq</a></div><div class="ttdeci">Matching LtEq(Matching y)</div><div class="ttdoc">Creates a matching for &quot;less than or equal&quot; comparison. </div><div class="ttdef"><b>Definition:</b> <a href="_expression_matching_8cs_source.html#l00339">ExpressionMatching.cs:339</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_intrinsic_functions_html_a74c6d91b95ee4599419bb4279bf4ed19"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_intrinsic_functions.html#a74c6d91b95ee4599419bb4279bf4ed19">SystemSharp.SysDOM.IntrinsicFunctions.Cast</a></div><div class="ttdeci">static Expression Cast(Expression expr, Type srcType, TypeDescriptor dstType, bool reinterpret=false)</div><div class="ttdoc">Constructs a FunctionCall representation of a type conversion. </div><div class="ttdef"><b>Definition:</b> <a href="_intrinsic_functions_8cs_source.html#l00865">IntrinsicFunctions.cs:865</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_matching_html_a006e4c0321abea915988bce708a19c84"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a006e4c0321abea915988bce708a19c84">SystemSharp.SysDOM.Matching.Gt</a></div><div class="ttdeci">Matching Gt(Matching y)</div><div class="ttdoc">Creates a matching for &quot;greater than&quot; comparison. </div><div class="ttdef"><b>Definition:</b> <a href="_expression_matching_8cs_source.html#l00349">ExpressionMatching.cs:349</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_expression_html"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_expression.html">SystemSharp.SysDOM.Expression</a></div><div class="ttdoc">An expression. </div><div class="ttdef"><b>Definition:</b> <a href="_core_algebraic_8cs_source.html#l01096">CoreAlgebraic.cs:1096</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_expression_html_ae0af2e8127f24d85216108cf9747643f"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_expression.html#ae0af2e8127f24d85216108cf9747643f">SystemSharp.SysDOM.Expression.MatchFunction</a></div><div class="ttdeci">delegate bool MatchFunction(Expression e)</div><div class="ttdoc">Matches an expression for some preficate. </div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_generation_html_aff1550706ae49faed5dc595fdcfeb487"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html#aff1550706ae49faed5dc595fdcfeb487">SystemSharp.SysDOM.Generation.BinOp</a></div><div class="ttdeci">static ExpressionGenerator BinOp(BinOp.Kind kind, ExpressionGenerator g1, ExpressionGenerator g2)</div><div class="ttdoc">Constructs a generator for binary expressions. </div><div class="ttdef"><b>Definition:</b> <a href="_expression_matching_8cs_source.html#l00436">ExpressionMatching.cs:436</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_matching_html_a9a913b7ceb1d6006311b48732db4a239"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a9a913b7ceb1d6006311b48732db4a239">SystemSharp.SysDOM.Matching.GtEq</a></div><div class="ttdeci">Matching GtEq(Matching y)</div><div class="ttdoc">Creates a matching for &quot;greater than or equal&quot; comparison. </div><div class="ttdef"><b>Definition:</b> <a href="_expression_matching_8cs_source.html#l00359">ExpressionMatching.cs:359</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_matching_html_a2513f19ca446785f519af42d9643f708"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a2513f19ca446785f519af42d9643f708">SystemSharp.SysDOM.Matching.BinOp</a></div><div class="ttdeci">static Expression.MatchFunction BinOp(BinOp.Kind kind)</div><div class="ttdoc">Creates a matching for the specified kind of binary operation. </div><div class="ttdef"><b>Definition:</b> <a href="_expression_matching_8cs_source.html#l00202">ExpressionMatching.cs:202</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_bin_op_html_ab5bc58b1b90b8ea714fe042b2a0e63ef"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_bin_op.html#ab5bc58b1b90b8ea714fe042b2a0e63ef">SystemSharp.SysDOM.BinOp.Kind</a></div><div class="ttdeci">Kind</div><div class="ttdoc">Choice of binary operators. </div><div class="ttdef"><b>Definition:</b> <a href="_core_algebraic_8cs_source.html#l02723">CoreAlgebraic.cs:2723</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_matching_html_a1a2995796eddf878191309de8c156e29"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a1a2995796eddf878191309de8c156e29">SystemSharp.SysDOM.Matching.Parent2Children</a></div><div class="ttdeci">static Expression.MatchFunction Parent2Children(Expression.MatchFunction fnp, Expression.MatchFunction fnc1, Expression.MatchFunction fnc2)</div><div class="ttdoc">Combines three matching predicates, such that every predicate must be satisfied. </div><div class="ttdef"><b>Definition:</b> <a href="_expression_matching_8cs_source.html#l00147">ExpressionMatching.cs:147</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_bin_op_html"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_bin_op.html">SystemSharp.SysDOM.BinOp</a></div><div class="ttdoc">Binary operator expression. </div><div class="ttdef"><b>Definition:</b> <a href="_core_algebraic_8cs_source.html#l02718">CoreAlgebraic.cs:2718</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_un_op_html"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_un_op.html">SystemSharp.SysDOM.UnOp</a></div><div class="ttdoc">A unary operator expression. </div><div class="ttdef"><b>Definition:</b> <a href="_core_algebraic_8cs_source.html#l02474">CoreAlgebraic.cs:2474</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_generation_html"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html">SystemSharp.SysDOM.Generation</a></div><div class="ttdoc">Encapsulates and constructs expression generators. </div><div class="ttdef"><b>Definition:</b> <a href="_expression_matching_8cs_source.html#l00385">ExpressionMatching.cs:385</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_type_descriptor_html"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">SystemSharp.Meta.TypeDescriptor</a></div><div class="ttdoc">Describes a type. </div><div class="ttdef"><b>Definition:</b> <a href="_type_descriptor_8cs_source.html#l00120">TypeDescriptor.cs:120</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_matching_html"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html">SystemSharp.SysDOM.Matching</a></div><div class="ttdoc">Establishes a predicate over expressions, thus matching expressions with certain properties. </div><div class="ttdef"><b>Definition:</b> <a href="_expression_matching_8cs_source.html#l00043">ExpressionMatching.cs:43</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_matching_html_a0a30ff7a92456d93415ad11a00ee336f"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a0a30ff7a92456d93415ad11a00ee336f">SystemSharp.SysDOM.Matching.Eq</a></div><div class="ttdeci">Matching Eq(Matching y)</div><div class="ttdoc">Creates a matching for equality comparison. </div><div class="ttdef"><b>Definition:</b> <a href="_expression_matching_8cs_source.html#l00309">ExpressionMatching.cs:309</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_matching_html_aa517b29693072e8cade9c6f4fd1a6d17"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#aa517b29693072e8cade9c6f4fd1a6d17">SystemSharp.SysDOM.Matching.Node</a></div><div class="ttdeci">static Expression.MatchFunction Node(Expression e)</div><div class="ttdoc">Creates a node type matching predicate from the expression. </div><div class="ttdef"><b>Definition:</b> <a href="_expression_matching_8cs_source.html#l00122">ExpressionMatching.cs:122</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_un_op_html_a8b4fb050e6c5427c7bc17a53c25ab924"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_un_op.html#a8b4fb050e6c5427c7bc17a53c25ab924">SystemSharp.SysDOM.UnOp.Kind</a></div><div class="ttdeci">Kind</div><div class="ttdoc">Choice of unary operators. </div><div class="ttdef"><b>Definition:</b> <a href="_core_algebraic_8cs_source.html#l02479">CoreAlgebraic.cs:2479</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_matching_html_a340768e31ae44c8ecee5817315ac85ce"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a340768e31ae44c8ecee5817315ac85ce">SystemSharp.SysDOM.Matching.Cast</a></div><div class="ttdeci">Matching Cast(Type srcType, TypeDescriptor dstType)</div><div class="ttdoc">Creates a matching for type cast expressions. </div><div class="ttdef"><b>Definition:</b> <a href="_expression_matching_8cs_source.html#l00369">ExpressionMatching.cs:369</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_matching_html_a1caf5038fa70a6232d55c9202a785b94"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a1caf5038fa70a6232d55c9202a785b94">SystemSharp.SysDOM.Matching.Lt</a></div><div class="ttdeci">Matching Lt(Matching y)</div><div class="ttdoc">Creates a matching for &quot;less than&quot; comparison. </div><div class="ttdef"><b>Definition:</b> <a href="_expression_matching_8cs_source.html#l00329">ExpressionMatching.cs:329</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_intrinsic_functions_html"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_intrinsic_functions.html">SystemSharp.SysDOM.IntrinsicFunctions</a></div><div class="ttdoc">This static class provides factory methods for intrinsic functions. </div><div class="ttdef"><b>Definition:</b> <a href="_intrinsic_functions_8cs_source.html#l00595">IntrinsicFunctions.cs:595</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_matching_html_a2e5f368187212bfeaee3d209c6579c5f"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a2e5f368187212bfeaee3d209c6579c5f">SystemSharp.SysDOM.Matching.MBinOp</a></div><div class="ttdeci">Matching MBinOp(BinOp.Kind kind, Matching peer)</div><div class="ttdoc">Creates a matching for the specified kind of binary operation. </div><div class="ttdef"><b>Definition:</b> <a href="_expression_matching_8cs_source.html#l00174">ExpressionMatching.cs:174</a></div></div>
<div class="ttc" id="namespace_system_sharp_1_1_sys_d_o_m_html_a55f18bc7b5ffbb11145b22118dbac279"><div class="ttname"><a href="namespace_system_sharp_1_1_sys_d_o_m.html#a55f18bc7b5ffbb11145b22118dbac279">SystemSharp.SysDOM.ExpressionGenerator</a></div><div class="ttdeci">delegate Expression ExpressionGenerator()</div><div class="ttdoc">Creates a new expression. </div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_matching_html_abbd901620733138c96918f8c216c987d"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#abbd901620733138c96918f8c216c987d">SystemSharp.SysDOM.Matching.Matching</a></div><div class="ttdeci">Matching()</div><div class="ttdoc">Constructs a new matching. </div><div class="ttdef"><b>Definition:</b> <a href="_expression_matching_8cs_source.html#l00052">ExpressionMatching.cs:52</a></div></div>
<div class="ttc" id="namespace_system_sharp_1_1_sys_d_o_m_html_a713e8ebc9264c8218b62393ca9612517"><div class="ttname"><a href="namespace_system_sharp_1_1_sys_d_o_m.html#a713e8ebc9264c8218b62393ca9612517">SystemSharp.SysDOM.MatchAction</a></div><div class="ttdeci">delegate void MatchAction(Expression e)</div><div class="ttdoc">Performs an action on the given expression. </div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_matching_html_a95d330fc0fb479849e6d66a38f938def"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a95d330fc0fb479849e6d66a38f938def">SystemSharp.SysDOM.Matching.MUnOp</a></div><div class="ttdeci">Matching MUnOp(UnOp.Kind kind)</div><div class="ttdoc">Creates a matching for the specified kind of unary operations. </div><div class="ttdef"><b>Definition:</b> <a href="_expression_matching_8cs_source.html#l00157">ExpressionMatching.cs:157</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_matching_html_a179029434dedf092b9c018f1a5b31384"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a179029434dedf092b9c018f1a5b31384">SystemSharp.SysDOM.Matching.Deep</a></div><div class="ttdeci">static Expression.MatchFunction Deep(Expression e)</div><div class="ttdoc">Creates a structural matching predicate from the expression. </div><div class="ttdef"><b>Definition:</b> <a href="_expression_matching_8cs_source.html#l00130">ExpressionMatching.cs:130</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_matching_html_a92cb41ce92d873f60f4e9fcf126f2d21"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a92cb41ce92d873f60f4e9fcf126f2d21">SystemSharp.SysDOM.Matching.GetExpression</a></div><div class="ttdeci">Expression GetExpression()</div><div class="ttdoc">Returns the expression that matches the predicate of this matching instance. </div><div class="ttdef"><b>Definition:</b> <a href="_expression_matching_8cs_source.html#l00074">ExpressionMatching.cs:74</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_generation_html_a0f926f90323313d787077708dc810f93"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_generation.html#a0f926f90323313d787077708dc810f93">SystemSharp.SysDOM.Generation.Copy</a></div><div class="ttdeci">static ExpressionGenerator Copy(Expression e)</div><div class="ttdoc">Constructs a generator that returns the supplied expression. </div><div class="ttdef"><b>Definition:</b> <a href="_expression_matching_8cs_source.html#l00411">ExpressionMatching.cs:411</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_matching_html_a25e90472d9fe2755b87a814bd7a61a20"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_matching.html#a25e90472d9fe2755b87a814bd7a61a20">SystemSharp.SysDOM.Matching.Constrain</a></div><div class="ttdeci">Matching Constrain(Func&lt; bool &gt; constraint)</div><div class="ttdoc">Constrains the matching, using an additional predicate. </div><div class="ttdef"><b>Definition:</b> <a href="_expression_matching_8cs_source.html#l00190">ExpressionMatching.cs:190</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_bb5e995590685548b7e11478911ee7c3.html">SystemSharp-Google-SVN</a></li><li class="navelem"><a class="el" href="dir_8deefa4467a62b572b52d238d562b104.html">SystemSharp</a></li><li class="navelem"><a class="el" href="dir_0e5a72156f8560bbc472a395da2569d6.html">SystemSharp</a></li><li class="navelem"><a class="el" href="dir_9d3c30b4336bd92c64ccf0aeee487ace.html">SystemSharp</a></li><li class="navelem"><a class="el" href="dir_69d8a7302bcb7dce902a87e2ac33c28d.html">SysDOM</a></li><li class="navelem"><a class="el" href="_expression_matching_8cs.html">ExpressionMatching.cs</a></li>
    <li class="footer">Generated on Thu Dec 26 2013 14:21:38 for SystemSharp by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>
